package com.sunshine.ssm.session;

import javax.servlet.http.HttpSessionEvent;
import javax.servlet.http.HttpSessionListener;

/**
 * @Author: WeiHong
 * @Date: 2017/3/24 15:52
 */
public class SessionListener implements HttpSessionListener{
    @Override
    public void sessionCreated(HttpSessionEvent se) {
        System.out.println("-----------------------------SessionListener.sessionCreated()-----------------------------");
    }

    @Override
    public void sessionDestroyed(HttpSessionEvent se) {
        System.out.println("-----------------------------SessionListener.sessionDestroyed()-----------------------------");
    }
}
